package com.ztools.common.model.pc.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author:seeTools
 * @Date: 2023/4/14  21:18
 * @Version 1.0
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(30)
@ColumnWidth(20)
public class MemberExport implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelProperty("会员ID")
    private Long id;

    @ExcelProperty("会员昵称")
    private String nickName;

    @ExcelProperty("真实姓名")
    private String name;

    @ExcelProperty("邮箱")
    private String phone;

    @ExcelProperty("性别")
    private String sexName;

    @ExcelProperty("注册日期")
    private Date registrationDate;

    @ExcelProperty("注册来源")
    private String registrationSource;

    @ExcelProperty("openid")
    private String openid;

    @ExcelProperty("unionId")
    private String unionId;

    @ExcelProperty("推荐人")
    private String referrerOpenid;

    @ExcelProperty("经度")
    private BigDecimal longitude;

    @ExcelProperty("纬度")
    private BigDecimal latitude;

    @ExcelProperty("省份")
    private String province;

    @ExcelProperty("城市")
    private String city;

    @ExcelProperty("会员状态")
    private String memberStatusName;

    @ExcelProperty("累积积分")
    private Integer totalPoints;

    @ExcelProperty("累积消费金额")
    private BigDecimal totalConsumptionAmount;

    @ExcelProperty("累积优惠金额")
    private BigDecimal totalDiscountAmount;

    @ExcelProperty("累计退款金额")
    private BigDecimal totalRefundAmount;

    @ExcelProperty("累积消费次数")
    private Integer totalConsumptionTimes;

    @ExcelProperty("累积退款次数")
    private Integer totalRefundTimes;

    @ExcelProperty("创建人名称")
    private String creatorName;

    @ExcelProperty("备注")
    private String remark;
}
